package com.liuli.springcloud.dao;

import com.liuli.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Admin on 2019/12/13.
 */
@Mapper
//@Repository
public interface DeptDao {

    public Boolean addDept(Dept dept);

    public Dept queryById(Long id);

    public List<Dept> queryAll();
}
